#include "mainwindow.h"
#include <QApplication>
#include <QFile>
#include <QTextStream>
#include <QIcon>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    // set stylesheet
//    QFile file(":/dark.qss");
    QFile file(":/light.qss");
    file.open(QFile::ReadOnly | QFile::Text);
    QTextStream stream(&file);
    a.setStyleSheet(stream.readAll());

    w.setWindowIcon(QIcon(":/logo.ico"));


    return a.exec();
}
